package com.mvvm.store.bean.basebean;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity
public class DeliveryInfoBean {
    @PrimaryKey(autoGenerate = true)
    public int sId;

    @ColumnInfo(name = "orderNumber")  //订单号  1
    private String orderNumber;

    @ColumnInfo(name = "oddNumber")
    private String oddNumber; //零件号  N

    @ColumnInfo(name = "snpNumber")
    private int snpNumber;  //snp号  单箱数量

    @ColumnInfo(name = "sumNumber")
    private int sumNumber;  //总数

    @ColumnInfo(name = "packNumber")
    private int packNumber; //箱数

    @ColumnInfo(name = "oddName")
    private String oddName; //零件名称

    @ColumnInfo(name = "realToNumber")
    private int realToNumber; //实到数量


    @ColumnInfo(name = "realToPack")
    private int realToPack; //实到箱数

    @ColumnInfo(name = "supplierCode")
    private String supplierCode; //供应商编号


    @ColumnInfo(name = "supplierName")
    private String supplierName; //供应商名称

    @ColumnInfo(name = "address")
    private String address; //发往地

    //----------------------------------------------------------------

    @ColumnInfo(name = "id")
    private String id; //零件id

    @ColumnInfo(name = "outStockId")
    private String outStockId; //


    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getOddNumber() {
        return oddNumber;
    }

    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    public int getSnpNumber() {
        return snpNumber;
    }

    public void setSnpNumber(int snpNumber) {
        this.snpNumber = snpNumber;
    }

    public int getSumNumber() {
        return sumNumber;
    }

    public void setSumNumber(int sumNumber) {
        this.sumNumber = sumNumber;
    }

    public int getPackNumber() {
        return packNumber;
    }

    public void setPackNumber(int packNumber) {
        this.packNumber = packNumber;
    }

    public String getOddName() {
        return oddName;
    }

    public void setOddName(String oddName) {
        this.oddName = oddName;
    }

    public int getRealToNumber() {
        return realToNumber;
    }

    public void setRealToNumber(int realToNumber) {
        this.realToNumber = realToNumber;
    }

    public int getRealToPack() {
        return realToPack;
    }

    public void setRealToPack(int realToPack) {
        this.realToPack = realToPack;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOutStockId() {
        return outStockId;
    }

    public void setOutStockId(String outStockId) {
        this.outStockId = outStockId;
    }

    @Override
    public String toString() {
        return "DeliveryInfoBean{" +
                "sId=" + sId +
                ", orderNumber='" + orderNumber + '\'' +
                ", oddNumber='" + oddNumber + '\'' +
                ", snpNumber=" + snpNumber +
                ", sumNumber=" + sumNumber +
                ", packNumber=" + packNumber +
                ", oddName='" + oddName + '\'' +
                ", realToNumber=" + realToNumber +
                ", realToPack=" + realToPack +
                ", supplierCode='" + supplierCode + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", address='" + address + '\'' +
                ", id=" + id +
                ", outStockId='" + outStockId + '\'' +
                '}';
    }
}
